package com.thingcom.delinrobot.main.device;

import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.drawerlayout.widget.DrawerLayout;
import com.thingcom.delinrobot.R;
import com.thingcom.delinrobot.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;


/**
 * author : YuFeng
 * e-mail : 923462992@qq.com
 * date   : 2019/11/13
 */
public class DeviceMainActivity extends BaseActivity {

    @BindView(R.id.drawer_device)
    DrawerLayout drawerDevice;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_device);
        ButterKnife.bind(this);
        if (findFragment(DeviceMainFragment.class) == null) {
            loadRootFragment(R.id.fl_container, DeviceMainFragment.newInstance());
        }

    }

    @Override
    protected void onStop() {
        super.onStop();
    //    GizManger.getInstance().unSubcriber();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();

    }

}
